Conversation
filliph
commented
Jun 25, 2025
- Add new functions to TomTom shim
- Add new global functions to make waypoint management easier
- Add new function for fetching the nearest pin
- Add new functions to TomTom shim - Add new global functions to make waypoint management easier - Add new function for fetching the nearest pin
|
Hey @filliph I'm a bit unsure about adding a global function to remove all pins or change tracking universally. I'm currently working on the next version, which introduces a new structure called "sections." Would this approach cover your use cases? |
|
Sounds like it 👍 I can amend the PR to only include the TomTom part and the new get closest pin function? |
|
@Nercus also feature request while you're thinking about sections; can the pinData also be updated to store questID? That'll allow addons to purge multiple pins that belong to one specific quest. For example if the addon sets a pin for a cave entrance and a pin for the mob inside the cave, or for phased things like the Midsummer bonfires in Blasted Lands or Arathi Highlands, where the addon might set a pin to Zidormi. |
Don’t change it right away. Since I’m still working on building the sections system, I haven’t finalized all the functions yet. I’m not sure, but I might even add a custom section for the TomTom shim. I’ve added that to my “next version” todos list though. 😃
Sure! I do have a data field in mind anyway. I could add that so it can be used as a parameter in the |
That would actually be really good, since then adding the ClearAllWaypoints or whatever it's called would only affect entries added by addons using the shim 👀 If more fine grained pruning is needed, the author can add full MPE support. Or wait for me to find the addon and do it for them 😆 |